package com.ruoyi.bysj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付订单对象 sys_pay
 * 
 * @author laow
 * @date 2021-10-29
 */
public class SysPay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 支付编号 */
    private Long payId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private Long orderId;

    /** 维修工时 */
    @Excel(name = "维修工时")
    private Long orderTime;

    /** 人工费用 */
    @Excel(name = "人工费用")
    private Long artificialCost;

    /** 所需配件 */
    @Excel(name = "所需配件")
    private String orderGoods;

    /** 配件费用 */
    @Excel(name = "配件费用")
    private Long goodsCost;

    /** 总费用 */
    @Excel(name = "总费用")
    private Long payTotal;

    /** 支付人 */
    @Excel(name = "支付人")
    private String payName;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    public void setPayId(Long payId) 
    {
        this.payId = payId;
    }

    public Long getPayId() 
    {
        return payId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderTime(Long orderTime)
    {
        this.orderTime = orderTime;
    }

    public Long getOrderTime()
    {
        return orderTime;
    }
    public void setArtificialCost(Long artificialCost) 
    {
        this.artificialCost = artificialCost;
    }

    public Long getArtificialCost() 
    {
        return artificialCost;
    }
    public void setOrderGoods(String orderGoods) 
    {
        this.orderGoods = orderGoods;
    }

    public String getOrderGoods() 
    {
        return orderGoods;
    }
    public void setGoodsCost(Long goodsCost) 
    {
        this.goodsCost = goodsCost;
    }

    public Long getGoodsCost() 
    {
        return goodsCost;
    }
    public void setPayTotal(Long payTotal) 
    {
        this.payTotal = payTotal;
    }

    public Long getPayTotal() 
    {
        return payTotal;
    }
    public void setPayName(String payName) 
    {
        this.payName = payName;
    }

    public String getPayName() 
    {
        return payName;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("payId", getPayId())
            .append("orderId", getOrderId())
            .append("orderTime", getOrderTime())
            .append("artificialCost", getArtificialCost())
            .append("orderGoods", getOrderGoods())
            .append("goodsCost", getGoodsCost())
            .append("payTotal", getPayTotal())
            .append("payName", getPayName())
            .append("payTime", getPayTime())
            .toString();
    }
}
